#include "stackpara.h"
#include "ui_stackpara.h"
#include "mainWidget.h"

StackPara::StackPara(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::StackPara)
{
    ui->setupUi(this);

    pWidget = static_cast<Widget*>(parent);

    //返回编程界面
    connect(ui->Btn_back, &QPushButton::clicked, this, [=](){
        pWidget->backStackingPage();
    });

    connect(ui->Btn_pointNum1, &QPushButton::clicked, this, [=](){
        pWidget->stackSetPage();
    });
}

StackPara::~StackPara()
{
    delete ui;
}
